Automattic\Jetpack\Forms\ContactForm\Contact_Form_Field D

Total Complexity 153
Dependencies 5
Dependents 2
Total lines 1,036
Lines of code 573
Logical lines of code 315
Comment lines 366
Methods 25
Properties 8

Methods 25

Method Rating Maintainability Complexity Lines of code
render()
C
32 27 99
render_field()
C
34 26 80
__construct()
B
36 16 77
validate()
A
45 15 41
render_label()
A
51 10 24
render_select_field()
S
47 6 33
render_radio_field()
S
51 6 23
render_input_field()
S
54 6 20
render_checkbox_multiple_field()
S
55 5 16
render_consent_field()
S
57 4 14
render_date_field()
S
52 3 25
render_outline_label()
S
58 3 17
render_checkbox_field()
S
63 4 8
maybe_override_type()
S
61 3 12
render_animated_label()
S
62 3 11
render_below_label()
S
63 3 10
render_textarea_field()
S
59 2 14
get_option_value()
S
71 2 6
get_form_style()
S
71 2 5
add_error()
S
68 2 7
render_url_field()
S
59 1 13
render_default_field()
S
71 1 5
render_email_field()
S
71 1 5
is_error()
S
82 1 3
render_telephone_field()
S
71 1 5